class Equip_Skill_001 < Equip_Skill
  attr_accessor   :id
  def initialize(actor, level)
    super(actor, level)
    @id = 1
    @name = '体力UP'
    for i in 1..10
      @descriptions.push('增加' + (i * 100).to_s + '点最大生命值')
    end
    change_level(level)
  end
  def change_level(value)
    @actor.plus_props.remove_plus(Plus_Props::MAXHP, @help_value)
    super(value)
    if @level <= 0
      return
    end
    @help_value = @level * 100
    @actor.plus_props.add_plus(Plus_Props::MAXHP, @help_value)
  end
end
